package com.ruoyi.safe.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 风险单元对象 risk_unit
 * 
 * @author yxf
 * @date 2021-08-25
 */
public class RiskUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 风险单元ID */
    private Long ruId;

    /** 风险单元名称 */
    @Excel(name = "风险单元名称")
    private String ruName;

    /** 生产场所单元 */
    @Excel(name = "生产场所单元")
    private String ruProductName;

    /** 生产过程反应条件 */
    @Excel(name = "生产过程反应条件")
    private String ruCondition;

    /** 贮罐区 */
    @Excel(name = "贮罐区")
    private String ruZhuguan;

    /** 库区 */
    @Excel(name = "库区")
    private String ruKu;

    /** 危险化学品 */
    @Excel(name = "危险化学品")
    private String ruDangerChemicals;

    /** 风险特性 */
    @Excel(name = "风险特性")
    private String ruRiskCs;

    /** 风险源等级 */
    @Excel(name = "风险源等级")
    private String ruRiskSourceLv;

    /** 企业ID */
    @Excel(name = "企业ID")
    private Long epId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setRuId(Long ruId) 
    {
        this.ruId = ruId;
    }

    public Long getRuId() 
    {
        return ruId;
    }
    public void setRuName(String ruName) 
    {
        this.ruName = ruName;
    }

    public String getRuName() 
    {
        return ruName;
    }
    public void setRuProductName(String ruProductName) 
    {
        this.ruProductName = ruProductName;
    }

    public String getRuProductName() 
    {
        return ruProductName;
    }
    public void setRuCondition(String ruCondition) 
    {
        this.ruCondition = ruCondition;
    }

    public String getRuCondition() 
    {
        return ruCondition;
    }
    public void setRuZhuguan(String ruZhuguan) 
    {
        this.ruZhuguan = ruZhuguan;
    }

    public String getRuZhuguan() 
    {
        return ruZhuguan;
    }
    public void setRuKu(String ruKu) 
    {
        this.ruKu = ruKu;
    }

    public String getRuKu() 
    {
        return ruKu;
    }
    public void setRuDangerChemicals(String ruDangerChemicals) 
    {
        this.ruDangerChemicals = ruDangerChemicals;
    }

    public String getRuDangerChemicals() 
    {
        return ruDangerChemicals;
    }
    public void setRuRiskCs(String ruRiskCs) 
    {
        this.ruRiskCs = ruRiskCs;
    }

    public String getRuRiskCs() 
    {
        return ruRiskCs;
    }
    public void setRuRiskSourceLv(String ruRiskSourceLv) 
    {
        this.ruRiskSourceLv = ruRiskSourceLv;
    }

    public String getRuRiskSourceLv() 
    {
        return ruRiskSourceLv;
    }
    public void setEpId(Long epId) 
    {
        this.epId = epId;
    }

    public Long getEpId() 
    {
        return epId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ruId", getRuId())
            .append("ruName", getRuName())
            .append("ruProductName", getRuProductName())
            .append("ruCondition", getRuCondition())
            .append("ruZhuguan", getRuZhuguan())
            .append("ruKu", getRuKu())
            .append("ruDangerChemicals", getRuDangerChemicals())
            .append("ruRiskCs", getRuRiskCs())
            .append("ruRiskSourceLv", getRuRiskSourceLv())
            .append("epId", getEpId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
